import React from 'react';
export default class ChargePay extends React.Component {
    constructor(props) {
        super(props);
        this.state  = {
            /*id:ii,
            value:value*/

        }
    }

   /* b=()=>{
        this.props.pay();
    }*/

    render(){
        return(
            <div>
                <div className="charge-pay" data-id={this.props.id}>
                    <span>{this.props.money}</span>
                    <span onClick={this.props.dd}>确认支付</span>
                </div>
            </div>
        )
    }
}